package com.juzi.wopu.query;

public class SysRoleFunQuery extends BaseQuery{
	private Long roleCode;

	public SysRoleFunQuery() {
		super("SysRoleFun");
	}
	
	@Override
	protected void addWhere() {
		if(roleCode!=null && roleCode!=-1L) {
			AddWhere("o.iRole = ?", roleCode);
		}
	}

	public Long getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(Long roleCode) {
		this.roleCode = roleCode;
	}
}